<%
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", -1); //prevents caching at the proxy server
%>
<%@page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*,java.util.*"%>
<%@ include file="Connections/conDB.jsp" %>
<%
Calendar fecha = Calendar.getInstance();
String fechahoy = fecha.get(fecha.DATE)+"/"+(fecha.get(fecha.MONTH)+1)+"/"+fecha.get(fecha.YEAR);
%>
<html>
<head>
<title>CIMA v2 - Nuevo Tipo de Grano</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="miestilo.css" type="text/css">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="images/fondo.jpg">
<center>
<br>
<form name="form1">
    <table width="217" border="0" cellspacing="0" cellpadding="0">
      <tr align="center"> 
        <td class="titulos" colspan="4">Nuevo Ajuste de Inventario</td>
      </tr>
      <tr> 
        <td align="right" class="etiqueta" width="60">Fecha</td>
        <td width="10">&nbsp;</td>
        <td height="21"> 
          <input type="hidden" name="textfield">
          <%=fechahoy%> </td>
        <td height="21">&nbsp;</td>
      </tr>
      <tr> 
        <td align="right" class="etiqueta">Almacen</td>
        <td>&nbsp;</td>
        <td> 
          <input type="text" name="almacen" class="textfields" size="20">
        </td>
        <td><img src="images/buscar.gif" width="15" height="15" class="cursor" onClick="window.open('almacen_catalogo.jsp?campo=almacen','Almacen','top=230,left=320,width=250,height=285')" alt="Cat&aacute;logo"></td>
      </tr>
      <tr> 
        <td align="right" class="etiqueta">Motivo/Lote</td>
        <td>&nbsp;</td>
        <td> 
          <input type="text" name="textfield3" class="textfields" size="20">
        </td>
        <td><img src="images/buscar.gif" width="15" height="15" alt="Cat&aacute;logo"></td>
      </tr>
      <tr> 
        <td align="right" class="etiqueta">Concepto</td>
        <td>&nbsp;</td>
        <td> 
          <input type="text" name="textfield4" class="textfields" maxlength="50" size="20">
        </td>
        <td><img src="images/buscar.gif" width="15" height="15" alt="Cat&aacute;logo"></td>
      </tr>
      <tr> 
        <td align="right" class="etiqueta">Cantidad</td>
        <td>&nbsp;</td>
        <td> 
          <input type="text" name="textfield5" class="textfields" maxlength="50" size="20">
        </td>
        <td>&nbsp;</td>
      </tr>
      <tr> 
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr align="center"> 
        <td colspan="4"> 
          <input type="submit" name="Submit" value="Guardar" class="boton" onClick="window.close()">
          &nbsp; 
          <input type="button" name="Submit2" value="Cerrar" class="boton" onClick="window.close()">
        </td>
      </tr>
    </table>
  </form>
</center>
</body>
<HEAD>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
</HEAD>
</html>
